﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="s_login.aspx.vb" Inherits="atenciones_ingreso" Theme="Yahoo-Ocean" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register src="ucAlerta.ascx" TagName="Alerta" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>    
    <link href="../css/EstilosFrm.css" type="text/css" rel="Stylesheet" />
    <link href="../css/diseno.css" type="text/css" rel="Stylesheet" />
    <script src="../js/jsForms/js_Consulta.js" type="text/javascript"></script>
    <script src="../js/js_windowpopup.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 100%;
            height: 539px;
            margin-bottom: 0px;
        }
        .style2
        {
            height: 515px;
        }
        .style6
        {
            font-size: xx-small;
            padding-left: 5px;
        }
        .style7
        {
            text-align: right;
            width: 108px;
        }
        .auto-style1 {
            width: 15px;
        }
    </style>
    <script type="text/javascript" language="javascript">
        function closeWindow() {
            netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
            alert("This will close the window");
            window.open('', '_self');
            window.close();
        }

    </script>
<%--Script Google Analitic--%>
    <script>
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-46218526-1', 'simdev.gob.pe');
        ga('send', 'pageview');

    </script>
</head>
<body>
    <form id="Form1" method="post" runat="server">
    <table class="style1">
        <tr>
            <td valign="middle" class="style2">
                <center>
                    <table cellspacing="0" cellpadding="0" width="550px" align="center" border="0">
                        <tr valign="bottom">
                            <td align="center" >
                                <img style="bottom" width="550" src="../Imagenes/barra/barra_cabecera_login.png" >
                            </td>
                        </tr>
                        <tr style="font-size: 12pt">
                            <td width="550px">
                                <table cellspacing="0" cellpadding="0" width="550px" border="0">
                                    <tr class="Frm_Fondo_fila_01">
                                        <td>
                                            <asp:ScriptManager ID="scMain" runat="server">
                                            </asp:ScriptManager>
                                            <table width="550px">
                                                <tr>
                                                    <td style="padding-right: 5px; text-align: right; width: 210px;">
                                                        <asp:Label ID="Label2" runat="server" Text="Usuario :" ForeColor="#004080" CssClass="label"></asp:Label>
                                                    </td>
                                                    <td style="padding-left: 5px; text-align: left; width: 310px;">
                                                        <asp:TextBox ID="txtusuario" runat="server" Width="150px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="vdcontraseña" runat="server" ControlToValidate="txtcontraseña" ValidationGroup="grupo5"
                                                            ErrorMessage="Debe ingresar Contraseña." CssClass="style6">Debe ingresar Contraseña.</asp:RequiredFieldValidator>
                                                    </td>
                                                    <td>
                                                                <asp:TextBox ID="txtdesusuario" runat="server" Visible="False" Width="8px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr align="center">
                                        <td>
                                            <table  width="550px">
                                                <tr>
                                                    <td style="padding-right: 5px; text-align: right; width: 210px;">
                                                        <asp:Label ID="Label1" runat="server" Text="Contraseña :" ForeColor="#004080" CssClass="label"></asp:Label>
                                                    </td>
                                                    <td style="padding-left: 5px; text-align: left; width: 320px;">
                                                        <asp:TextBox ID="txtcontraseña" runat="server" Width="150px" TextMode="Password"
                                                            onkeydown="btn_keydown('ibn_aceptar')"></asp:TextBox>
                                                        <asp:Label ID="errorcontraseña" runat="server" ForeColor="Red" Text="error contraseña" 
                                                            Visible="False" CssClass="style6"></asp:Label>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr align="center">
                                        <td>
                                            <table>
                                                <tr>
                                                    <td valign="middle">
                                                        <asp:ImageButton ID="ibn_aceptar" runat="server" ToolTip="Aceptar" ValidationGroup="grupo5" ImageUrl="~/Imagenes/btnAceptar.png" OnClientClick="fjs_cargando('lbl_carga')"/>
                                                    </td>
                                                    <td valign="bottom">                                                        
                                                         <input type="image" src="../Imagenes/btnSalir.png" value="Close this window" onclick="self.close();"> 
                                                        <%--<img class="imagen" style="cursor: hand;" id="Img2" onclick="self.close();" 
                                                        height="23" alt="Cerrar" src="../Imagenes/btnSalir.png" width="88" name="Cerrar" runat="server" />--%>
                                                    </td>                                                   
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" >
                                <img src="../Imagenes/barra/barra_pie_login.png" width="550" alt="" 
                                    style="height: 39px"/>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" style=" padding-left : 130px;">
                                <asp:Label ID="lbl_carga" runat="server" Text="" Width="0px"></asp:Label>
                                <asp:Panel ID="pnl_carga" runat="server" SkinID="" Style="display: none; width: 290px;
                                    text-align: center;">
                                    <table cellpadding="0" cellspacing="0" border="0" style="text-align: left; height: auto;">
                                        <tr>
                                            <td style="height: 15px; text-align:center;">
                                                <asp:Label ID="lbl_carga_msj" runat="server" Text="Conectando..." ForeColor="#002C75"
                                                    Font-Names="sans-serif, Arial, Helvetica" Font-Size="14px" Font-Bold="True"  ></asp:Label>
                                            </td>
                                        </tr>
                                        <tr valign="middle">
                                            <td style="height: 15px;">
                                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Imagenes/cargando10.gif" />
                                            </td>
                                       </tr>
                                    </table>
                                </asp:Panel>
                                <cc1:popupcontrolextender id="PopEx" runat="server" targetcontrolid="lbl_carga"
                                    popupcontrolid="pnl_carga" position="left" />
                            </td>                            
                        </tr>
                        <tr>
                        <td align="center">
                        <br/>
                        
<%--                        <table>
                         <tr>
                        <td align="left" style="vertical-align:top;">
                        <asp:Label ID="lblRecomendaciones" runat="server" CssClass="label" Font-Size="7pt" Text="Navegadores recomendados:  "></asp:Label>
                        </td>
                        <td class="auto-style1"></td>
                        </tr>
                        <tr>
                        <td align="left" valign="middle">
                        <asp:Label ID="Label3" runat="server" CssClass="label" Font-Size="7pt" Text="Internet explorer 9 o superior "></asp:Label>
                        </td>
                        <td class="auto-style1">
                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Imagenes/ie8icon1.jpg" Height="15px" Width="15px" />                                             
                        </td>
                        </tr>
                        <tr>
                        <td align="left" valign="middle">
                        <asp:Label ID="Label4" runat="server" CssClass="label" Font-Size="7pt" Text="Mozilla Firefox 20 o superior"></asp:Label>
                        </td>
                        <td align="left" class="auto-style1">
                        <a id="A1" runat="server" href="http://www.simdev.gob.pe/Firefox_13.exe" title="a"><img alt="" style="width:15px; height:15px; cursor:hand; border:0 none" title="Instalar" src="../Imagenes/firefox.png"/></a>       
                        </td>
                        </tr>
                        </table>--%>
                        </td>
                        </tr>                       
                    </table>
                </center>
            </td>
        </tr>
    </table>
    <uc1:Alerta id="alerta" runat="server"></uc1:Alerta> 
    </form>
</body>
</html>
